include_once("../db_inc.php"); $sqlgalleryProduct = "SELECT * FROM `galleryProduct` WHERE `galleryListID` = ".$_GET["listID"]." ORDER BY `sorting` DESC"; $resultgalleryProduct = mysql_query($sqlgalleryProduct); $datagalleryProduct = array(); for($count=0; $row=mysql_fetch_array($resultgalleryProduct, MYSQL_BOTH); $count++) { $datagalleryProduct[$count] = $row; } ?>